#ifndef SWITCH_H
#define SWITCH_H
#include <TimerListener.h>
#include "SwitchListener.h"

class Switch : public TimerListener {
  public:
    Switch(SwitchListener* switchListener, int switchPort);  /* Constructor */
    /* Methodes */
    virtual void timerCallbackFunction(int eventId);
  
  private:
    /* Attributs */
    int m_switchPort;
    boolean m_state;
    SwitchListener* m_switchListener;
};

#endif /* SWITCH_H */
